package com.woniuxy.project115.kaer.tenant.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author HuH
 * @since 2025年02月19日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("service_info")
public class ServiceInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "service_info_id", type = IdType.AUTO)
    private Integer serviceInfoId;

    /**
     * 服务项目名称
     */
    @TableField("node_name")
    private String nodeName;

    /**
     * 服务类型名字
     */
    @TableField("type_name")
    private String typeName;

    /**
     * 服务详细描述
     */
    @TableField("description")
    private String description;

    @TableField("total_price")
    private Double totalPrice;

    /**
     * 图片
     */
    @TableField("image")
    private String image;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    @TableField("creator")
    private String creator;

    /**
     * 店铺id
     */
    @TableField("store_id")
    private Integer storeId;

    @TableField("store_name")
    private String storeName;

    /**
     * 状态
     */
    @TableField("state")
    private Integer state;


}
